[Win32/MFC] Making group-boxes contain things

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-15T09:08:11Z Indexed on 2010/04/15 10:33 UTC
Read the original article Hit count: 152

Filed under:
|

As I understand it, a group-box is just another control. Controls inside it are not owned by it, so unlike in Winforms, if you move a group-box the contained controls stay put. What would be the nicest way to address this? Just create your own data-structure mapping controls to 'container' group-boxes so that when the container is moved the children are automatically moved?

© Stack Overflow or respective owner

Related posts about win32

Related posts about mfc